﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using PlayFab;
using PlayFab.ClientModels;
using UnityEngine.SceneManagement;

public class AccountInfo : MonoBehaviour
{
	public static AccountInfo instance;

	public static AccountInfo Instance
	{
		get{return instance;}
		set{instance = value;}
	}
	public static string errorMsg;

	 void Awake()
	{
		if (instance != this)
		{
			instance = this;
		}
		DontDestroyOnLoad (gameObject);
	}

	[SerializeField]
	private GetPlayerCombinedInfoResultPayload info;
	public GetPlayerCombinedInfoResultPayload Info
	{
		get {return info;}
		set{info = value;}
	}

	[SerializeField] private List<PlayFab.ClientModels.FriendInfo> friendlist;
	public List<PlayFab.ClientModels.FriendInfo> FriendList
	{
		get{ return friendlist;}
		set {friendlist = value;}
	}





		

}
